<template>
  <div class="right-out">
    <div class="nav">我的优惠券</div>
    <div class="content">
      <div class="coupons-search">
        <el-form :inline="true">
          <el-form-item label="">
            <el-input placeholder="请输入优惠券兑换码" size="large"> </el-input>
          </el-form-item>
          <el-form-item>
            <el-button type="primary" size="large">兑换</el-button>
          </el-form-item>
          <el-form-item>
            <el-icon><Ticket /></el-icon>
            <span>领劵中心</span>
          </el-form-item>
          <el-form-item>
            <el-icon><List /></el-icon>
            <span>历史优惠券</span>
          </el-form-item>
        </el-form>
      </div>

      <p>* 优惠券仅用于线下课</p>
      <div class="coupons-data">暂无数据</div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "coupons",
});
</script>

<script setup lang="ts">
import { Ticket, List } from "@element-plus/icons-vue";
</script>
<style scoped lang="scss">
.right-out {
  .nav {
    width: 1020px;
    background-color: white;
    border-radius: 3px;
    padding: 28px 30px;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  .content {
    width: 1020px;
    height: 370px;
    background-color: white;
    border-radius: 3px;
    padding: 30px;
    box-sizing: border-box;
    .coupons-search {
      .el-input {
        width: 480px;
      }
      .el-form-item {
        vertical-align: topline;
        .el-button {
          width: 100px;
          height: 40px;
          background-color: #f93684;
          color: white;
          font-size: 14px;
          border: none;
          margin-left: 11px;
        }
      }
    }

    p {
      color: #dba059;
      font-size: 14px;
      text-align: left;
      padding-left: 45px;
    }
    .coupons-data {
      padding: 20px 0;
      font-size: 14px;
      color: #909399;
      text-align: center;
    }
  }
}
</style>
